# coding:utf-8

import webbrowser

# query = input('Please input your query things:')
# # note: open the web page using the default browser
# webbrowser.open(f'http://www.baidu.com/s?wd={query}')

print('dir=', dir(webbrowser))
# print('help=', help(webbrowser))
# print('get=', webbrowser.get())

url = 'http://docs.python.org/'
# Open URL in a new tab, if a browser window is already open.
webbrowser.open_new_tab(url)
# Open URL in new window, raising the window if possible.
webbrowser.open_new(url)
